package com.j48.entrancegurad.model;

import java.sql.Timestamp;

/**
 * opinion_id 意见编号
 * opinion_content 意见内容
 * opinion_user_id 用户编号
 * opinion_createtime 创建时间
 * opinion_admin_id 处理人编号
 * opinion_lasttime 处理时间
 * opinion_status 是否已阅
 */
public class Opinion {
    private int opinion_id;//意见编号
    private String opinion_content;//意见内容
    private int opinion_user_id;//用户编号
    private Timestamp opinion_createtime;//创建时间
    private int opinion_admin_id;//处理人编号
    private Timestamp opinion_lasttime;//处理时间
    private int opinion_status;//是否已阅

    public Opinion() {
    }

    public Opinion(String opinion_content, int opinion_user_id, Timestamp opinion_createtime, int opinion_admin_id, Timestamp opinion_lasttime, int opinion_status) {
        this.opinion_content = opinion_content;
        this.opinion_user_id = opinion_user_id;
        this.opinion_createtime = opinion_createtime;
        this.opinion_admin_id = opinion_admin_id;
        this.opinion_lasttime = opinion_lasttime;
        this.opinion_status = opinion_status;
    }

    public Opinion(String opinion_content, int opinion_user_id, Timestamp opinion_createtime) {
        this.opinion_content = opinion_content;
        this.opinion_user_id = opinion_user_id;
        this.opinion_createtime = opinion_createtime;
    }

    public int getOpinion_id() {
        return opinion_id;
    }

    public void setOpinion_id(int opinion_id) {
        this.opinion_id = opinion_id;
    }

    public String getOpinion_content() {
        return opinion_content;
    }

    public void setOpinion_content(String opinion_content) {
        this.opinion_content = opinion_content;
    }

    public int getOpinion_user_id() {
        return opinion_user_id;
    }

    public void setOpinion_user_id(int opinion_user_id) {
        this.opinion_user_id = opinion_user_id;
    }

    public Timestamp getOpinion_createtime() {
        return opinion_createtime;
    }

    public void setOpinion_createtime(Timestamp opinion_createtime) {
        this.opinion_createtime = opinion_createtime;
    }

    public int getOpinion_admin_id() {
        return opinion_admin_id;
    }

    public void setOpinion_admin_id(int opinion_admin_id) {
        this.opinion_admin_id = opinion_admin_id;
    }

    public Timestamp getOpinion_lasttime() {
        return opinion_lasttime;
    }

    public void setOpinion_lasttime(Timestamp opinion_lasttime) {
        this.opinion_lasttime = opinion_lasttime;
    }

    public int getOpinion_status() {
        return opinion_status;
    }

    public void setOpinion_status(int opinion_status) {
        this.opinion_status = opinion_status;
    }
}
